Repository navigation
ci: replace gotestfmt with tparse v0.18.0 - #567
Merged
Merged
Conversation
The test entrypoint now pipes test output into tparse instead of gotestfmt, so failing tests' output and a summary table land at the end of the log instead of being buried among per-test groups. tparse is pinned rather than installed from @latest. The unit tests run under `go test -json` instead of test2json wrapping `go test -v`, so each package gets its own row in the summary rather than all of them reporting as one "ingress" package. stderr stays out of the pipe: tparse rejects the whole stream if a non-JSON line follows the first JSON event. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01S1stDkLA73F1pW3QWkhNVT
dennwc
force-pushed
the
claude/replace-gotestfmt-with-tparse
branch
from
November 19, 2026 15:52
76b7b5f to
66a3ebe
Compare
Locks the install to the commit the v0.18.0 tag points to, so a moved tag cannot change what CI runs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01S1stDkLA73F1pW3QWkhNVT
biglittlebigben
approved these changes
Nov 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
build/test/entrypoint.shnow pipes test output into tparse instead of gotestfmt, for both the integration suite and the unit tests. gotestfmt prints a group per test, so a failure is buried in thousands of lines with no summary. tparse prints the failing test's output and a per-package summary table at the end of the log. tparse is pinned to v0.18.0 rather than installed from@latest.2>&1before each pipe: tparse rejects the whole stream if a non-JSON line follows the first JSON event. For the integration suite onlytest2json's own stderr leaves the pipe; it already captures the test binary's stdout and stderr as JSON events.go test -jsoninstead oftest2jsonwrappinggo test -v, so each package gets its own row in the summary instead of all of them reporting as oneingresspackage. Build errors still reach tparse as JSON events (Go 1.24+).set -eo pipefailstill fails the script on a failing test, and tparse itself exits 1 on any failure.Verified with
bash -n, and by running a scratch module through the same pipelines underset -eo pipefail: exit 0 on pass, 1 on a failing test, 1 on a build error. Not run inside the test image.Generated by Claude Code